@import '../../../css/colorVar.less';

@media screen and (min-width: 1200px) {
  .positionDiv {
    float: left;
    width: 20%;
    height: 40px;
    border-right: 1px solid #EEEFF2;
    margin-top: 10px;
    margin-right: 8px;
  }
}

@media screen and (min-width: 1600px) {
  .positionDiv {
    float: left;
    width: 14%;
    height: 40px;
    border-right: 1px solid #EEEFF2;
    margin-top: 10px;
    margin-right: 18px;
  }
}

.bgcolor{
  background-color: #FAFBFC;;
}

.borderRight{
  border-right:1px solid #E4E7EE;
}

.header_ctx{
  p,ul,div{
    padding: 0;margin:0;
    font-family: PingFangSC-Regular, sans-serif !important;
    // color: @text_main;
  }
  >p{
    display: flex;
    align-items: center;
    line-height: 19px;
    font-size: 16px;
    span{
      margin-right: 17px;
      font-weight: 600;
    }
    span:last-child{
      font-size: 14px;
      font-weight: 400;
    }
  }
  
  .info_row{
       background-color: @section_bg;
       margin: 8px 0 13px 0;
      //  height: 50px;
       padding: 8px 0;
       font-size: 16px;
      .info_detail{
        line-height: 30px;
        text-align: center;
        border-right: 1px solid @section_border;
        span:first-child{
          margin-right: 17px;
          color: #666;
          font-size: 14px;

        }
        img{
          height: 10px;
          width: 9px;
          margin-left: 4px;
          margin-top: -4px;
        }
        span.daoqi{
          background:@theme;
          font-size: 12px;
          color: @menu_sel_text;
          width: 40px;
          display: inline-block;
          height: 18px;
          line-height: 18px;
          letter-spacing: 1px;
          border-radius: 10px;
          margin-left: 19px;
        }
        
      }
      
  }
  .info_row  >div:last-child .info_detail{
    border:0;
  }
}


.positionRowDiv {
  // display: inline-block;
  float: left;
  width: 75%;
  @media screen and (min-width: 1600px) {
    width: 82%;
  }
}

// 持仓小卡片
.positionInfoCard {
  // border: 1px solid #000;
  height: 60px;
  width: 100%;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 15px;
}

// 小卡片字体
.positionFont {
  padding-top: 10px;
  font-size: 12px;
  color: #fff;
}

.positionBigFont {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}

// 总计信息
.totalInfo {
  height: 100%;
}

// 总计信息的字体
.totalInfoFont {
  height: 20px;
  font-size: 18px;
  color: #595FCD;
  font-weight: bold;
  line-height: 16px;
}

// 总计信息固定标题
.totalInfoFlag {
  line-height: 15px;
  text-align: center;
  background: #35C0E2; 
  height: 16px;
  width: 56px;
  float: left;
  font-size: 12px;
  color: #fff;
  border-radius: 1px;
  @media screen and (min-width: 1600px) {
    margin-right: 8px;
  }
}

// 总计的单位
.totalInfoUnit {
  float: left;
  line-height: 15px;
  font-size: 12px;
  color: #999999;
}

// 指令的TABS
.tradeTabs {
  :global {
    .ant-tabs-nav .ant-tabs-tab {
      font-size: 14px;
      color: #9BA3A7;
      font-weight: bold;
    }
    .ant-tabs-nav .ant-tabs-tab-active {
      font-size: 14px;
      color: #35C0E2;
      font-weight: bold;
    }
  }
}

// 指令的TABS
.tradeTabsA {
  :global {
    .ant-tabs-bar {
      margin:0 0 0 0;
    }
  }
}

.jysDiv{
  :global {
  .divBody{
    background-color: #FFFFFF;
    width: 32.68%;
    margin-bottom: 10px;
    display: inline-block;

    .divTitle{
      padding: 15px 0px 15px 15px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
    font-weight: bold;
    }
    .queryDiv{
      width: 40%;
      display: inline-block;
      margin: 15px;
      text-align: center;
      .span1{
        display: block;
      }
      .span2{
        font-weight: bold;
      }
    }
    
  }
}
}

.buttonDiv {
  margin-top: 15px;
  text-align: right;
  margin-bottom: 15px;
  // @media screen and (min-width: 1600px) {
  //   margin-bottom: 50px;
  // }
  button {
    margin-left: 12px;
    font-size: 14px;
    color: #fff;
  }
  :global {
    .ant-btn[disabled] {
      color: #fff;
      background: #B0B7C9;
    }
  }
}

:global {
.trade-select {
  background-color: #bae1f1!important;
}
}

//from 表单样式
.formStyle100{
  :global {
    .ant-form-item {
      display: flex!important;
      //文本框前面的字的最小宽度
      > .ant-form-item-label {
        min-width: 100px;
      }
    }
    .ant-form-item-control-wrapper {
      flex: 1;
    }
    .ant-form-item-control{
      min-width: 180px;
    }
  }
}